<% #endcoding:utf-8%>
<li class="list-group-item">
  <%if f.s_type=='user'%>【用户】<%=link_to f.title,'/usercard/'+f.id.to_s%><%end%>
  <%if f.s_type=='demand'%>【需求】<%=link_to f.title,'/demands/'+f.id.to_s%><%end%>
  <%if f.s_type=='question'%>【问答】<%=link_to f.title,'/questions/'+f.id.to_s%>
  <%end%>
</li>